body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.top-bar {
    background-color: #007bff;
    color: white;
    padding: 20px;
    text-align: center;
    height: 18%;
}

.top-bar h1 {
    margin-top: 1%;
    font-size: 32px;
}

.main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

input[type="text"] {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 61.8%;
    box-sizing: border-box;
    font-size: 18px;
}

input[type="text"]:focus {
    border-color: #007bff;
    outline: none;
}

.cargoTomlBlock {
    display: flex;
    flex-direction: column;
    width: 30.9%;
}

.cargoTomlDescription {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10%;
    background-color: #f0f0f0;
    color: #333;
    font-size: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.textarea-container {
    display: flex;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.textarea-container .lineNumber {
    white-space: pre;
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    width: 20px;
    height: 100%;
    padding: 2px;
    text-align: center;
    color: #007bff;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
    pointer-events: none;
}

.cargoTomlTextArea {
    height: 100%;
    width: 100%;
    font-family: Consolas, monospace;
    white-space: pre;
    background-color: #f3f4f6;
    color: #333;
    padding-left: 30px;
    line-height: 1.5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 8px;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: scroll;
    font-size: 14px;
}

#config-form-block {
    display: flex;
    flex-direction: column;
    padding: 20px;
    width: 38.2%;
    height: auto;
    overflow-y: auto;
}

.config-form {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-top: #007bff 2px solid;
}

.config-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.config-form .form-description {
    font-size: 32px;
    color: #007bff;
    margin-bottom: 20px;
}

.config-form button:hover {
    background-color: #0056b3;
}

.closet {
    margin-bottom: 10px;
}

.closet .option-title {
    font-size: 24px;
    color: black;
    margin-bottom: 8px;
}

.option-group {
    font-size: 24px;
    color: #8d8f91;
    border-color: #0056b3;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: 15%;
}

.option-group div {
    cursor: pointer;
    border-bottom: 2px solid grey;
}

.option-group div.checked {
    font-size: 25px;
    color: #14161a;
    border-color: #0056b3;
    border-bottom: 2px solid #007bff;
}

#save-config {
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    width: 61.8%;
    margin-left: 19.1%;
}

.hidden {
    display: none;
}